<template>
    <div class="accept-container">
        <iframe id="show-iframe" src="http://192.168.0.93:8080/report/page/configuration/partConfiguration.html" width="1200" height="300" frameborder="0" scrolling="auto"></iframe>
    </div>
</template>

<script>
    export default {
        name: 'partConfiguration',
        data () {
            return {}
        },
        mounted(){
            const oIframe = document.getElementById('show-iframe');
            const deviceWidth = document.documentElement.clientWidth;
            const deviceHeight = document.documentElement.clientHeight;
            oIframe.style.width =( deviceWidth-250) + 'px';
            oIframe.style.height = (deviceHeight - 74) + 'px';
        },
        methods:{}
    }
</script>
<style scoped></style>
